﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kugar.Tools.IM.Tencent.ServerSDK.Enums
{
    /// <summary>
    /// 用户状态变化的原因
    /// </summary>
    public enum UserOnlineStatusChangeReasonEnum
    {
        /// <summary>
        /// TCP连接建立
        /// </summary>
        [Description("TCP连接建立")]
        Register,

        /// <summary>
        /// 用户注销账号导致TCP断开
        /// </summary>
        [Description("用户注销账号导致TCP断开")]
        Unregister,

        /// <summary>
        /// 云通信检测到TCP连接断开
        /// </summary>
        [Description("云通信检测到TCP连接断开")]
        LinkClose,

        /// <summary>
        /// 心跳包超时
        /// </summary>
        [Description("心跳包超时")]
        Timeout
    }
}
